﻿using System;

namespace Framework.Core.Condition
{
    public interface IOperation
    {
        bool Calculate(IExpression leftExpression, IExpression rightExpression);

        bool Calculate(IExpressionItem leftExpressionItem, IExpressionItem rightExpressionItem);

        bool Calculate(IExpression leftExpression, IExpressionItem rightExpressionItem);

        bool Calculate(IExpressionItem leftExpressionItem, IExpression rightExpression);
    }
}
